﻿namespace FFF.Test.Application.AppServices.FW
{
	using System;
    using System.Collections.Generic;
    using System.Threading.Tasks;
    using FFF.Test.Application.AppServices;
    using FFF.Test.Application.PublicService.AppService.TreeGrid;
    using FFF.Test.Application.Repositories.FW;
    using FFF.Test.Entity.FW;
    using FFF.Test.Entity.FW.Dto;
    using FFF.Test.Entity.FW.View;

    /// <summary>
    /// 标准角色动作中间表应用层服务接口
    /// </summary>
    public interface IFWStandardRole2ActionAppService :
        IYdmAbpCurdAppService<FWStandardRole2ActionEntity, Guid, FWStandardRole2ActionCreateInputDto, FWStandardRole2ActionUpdateInputDto, FWStandardRole2ActionDto, ViewFWStandardRole2Action, ViewFWStandardRole2Action>
    {
        /// <summary>
        /// 1.008 批量保存角色的权限(于大明)
        /// </summary>
        /// <param name="inDto">批量保存角色的权限输入dto</param>
        /// <returns>批量保存角色的权限输出dto</returns>
        Task<BatchSaveRoleActionOutDto> BatchSaveRoleAction(BatchSaveRoleActionInDto inDto);

        /// <summary>
        /// 1.007 获取角色的权限(于大明)
        /// </summary>
        /// <param name="inDto">获取角色的权限输入dto</param>
        /// <returns>获取角色的权限输出dto</returns>
        Task<GetRoleRightsOutDto> GetRoleRights(GetRoleRightsInDto inDto);

    }
}
